set -xue

sudo apt install -y zsh

wget https://gitee.com/mirrors/oh-my-zsh/raw/master/tools/install.sh -O /tmp/oh-my-zsh.sh
REMOTE=git@gitee.com:mirrors/oh-my-zsh bash /tmp/oh-my-zsh.sh

sed -i 's/ZSH_THEME="robbyrussell"/ZSH_THEME="candy"/' ~/.zshrc
echo 'source $HOME/Projects/StdEnv/aliases/main.sh' >> ~/.zshrc

# echo '' >> ~/.zshrc
# echo '# ls --time-style=...' >> ~/.zshrc
# echo 'export TIME_STYLE="+%Y-%m-%d %H:%M:%S"' >> ~/.zshrc
# echo '' >> ~/.zshrc

# echo '' >> ~/.bashrc
# echo '# ls --time-style=...' >> ~/.bashrc
# echo 'export TIME_STYLE="+%Y-%m-%d %H:%M:%S"' >> ~/.bashrc
# echo '' >> ~/.bashrc
